﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;

namespace WindowsFormsApplication1
{
    public partial class Workers : Form
    {
        public Workers()
        {
            InitializeComponent();
        }

        private void btn_add_Click(object sender, EventArgs e)
        {
            AddWorker add = new AddWorker();
            add.ShowDialog();
        }

        private void btn_salary_Click(object sender, EventArgs e)
        {
            UpdateSalary update = new UpdateSalary();
            update.ShowDialog();
        }

        private void btn_remove_Click(object sender, EventArgs e)
        {
            RemoveWorker remove = new RemoveWorker();
            remove.ShowDialog();
        }

        private void btn_hours_Click(object sender, EventArgs e)
        {
            WorkHours hours = new WorkHours();
            hours.ShowDialog();
        }

        private void btn_update_Click(object sender, EventArgs e)
        {
            UpdateDetails update = new UpdateDetails();
            update.ShowDialog();
        }

       
    }
}
